// 默认菜单项配置(全)
export const muneItemDefault = {
  file: { title: 'File', items: 'newdocument preview print' },
  edit: {
    title: 'Edit',
    items: 'undo redo cut copy paste pastetext selectall searchreplace',
  },
  view: {
    title: 'View',
    items: 'code visualaid visualchars visualblocks preview fullscreen',
  },
  insert: {
    title: 'Insert',
    items: 'image link customUploadVideoMenu inserttable charmap hr pagebreak nonbreaking anchor insertdatetime',
    /* 备份原始配置-自定义上传视频替换默认多媒体 media => customUploadVideoMenu */
    // items: 'image link media inserttable charmap hr pagebreak nonbreaking anchor insertdatetime',
  },
  format: {
    title: 'Format',
    items:
      'bold italic underline strikethrough superscript subscript codeformat forecolor backcolor removeformat styles blocks fontfamily fontsize align lineheight',
  },
  table: { title: 'Table', items: 'inserttable cell row column tableprops deletetable' },
  tools: { title: 'Tools', items: 'code wordcount' },
};

export const allMune = ['File', 'Edit', 'View', 'Insert', 'Format', 'Tools', 'Table'];


export const allTool = [
  'undo',
  'redo',
  'bold',
  'italic',
  'underline',
  'strikethrough',
  'superscript',
  'subscript',
  'forecolor',
  'backcolor',
  'removeformat',
  'bullist',
  'numlist',
  'align',
  'alignleft',
  'aligncenter',
  'alignright',
  'alignjustify',
  'lineheight',
  'outdent',
  'indent',
  'styles',
  'fontfamily',
  'fontsize',
  'cut',
  'copy',
  'paste',
  'pastetext',
  'selectall',
  'visualchars',
  'visualblocks',
  'image',
  'link',
  'unlink',
  'media',
  'charmap',
  'hr',
  'pagebreak',
  'nonbreaking',
  'anchor',
  'insertdatetime',
  'table',
  'tableprops',
  'newdocument',
  'print',
  'searchreplace',
  'code',
  'wordcount',
  'preview',
  'fullscreen',
];